<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s"uri="/struts-tags"  %>

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>欢迎登录</title>
</head>

<body bgcolor="#2283bf" >

<p>
</br>
</br>
</br>
</br>
</br>
</p>

<script language="javascript">
 function chkinput(form){
   if(form.uname.value==""){
   
      alert("请输入用户姓名!");
      form.uname.focus();
      return(false); 
   }
    if(form.pwd.value==""){
   
      alert("请输入用户密码!");
      form.pwd.focus();
      return(false); 
   }
   return(true);
 
 }
</script>
<table width="619" height="409" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td background="images/login1.png"><table width="440" height="280" border="0"  cellpadding="0" cellspacing="0">
      <form name="form1" method="post" action="Login.action" onSubmit="return chkinput(this)">
        <tr>
          <td height="150" colspan="2">&nbsp;</td>
        </tr>
        <tr>
		  
         <s:property value="message" /> 
          <td  height="40">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用户名:
              <input type="text" name="uname" size="18" class="txt_grey"></td>
        </tr>
        <tr>
          <td height="40">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;密&nbsp;&nbsp;码:
              <input type="password" name="pwd" size="18" class="txt_grey"></td>
        </tr>
        <tr>
          <td height="40">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            
			<!--<a href ="studentMain.html">--> <input type="image" name="imageField2" src="images/login.jpg"><!--</a>-->
            &nbsp;&nbsp;
            <input type="image" name="imageField" src="images/cancel.jpg">
          </td>
        </tr>
        <tr>
          <td height="80" colspan="2">&nbsp;</td>
        </tr>
		
      </form>
    </table></td>
  </tr>
  
</table>
<p align="center">
项目组成员：周超 唐志鹏 赵梓滨 黄嘉斌
</p>
<p align="center">
version:1.0
</p>

</body>
</html>
